package Operation;

import bookk.Book;
import bookk.BookList;

public class ShowOpertation implements IOperation{
    /**
     * @param booklist
     */
    @Override
    public void work(BookList booklist) {
        System.out.println("显示图书");
        int size =booklist.getUsesize();
        for (int i = 0; i < size; i++) {
            Book book = booklist.getBooks(i);
            System.out.println(book);
        }
    }
}
